package com.sloth.pojo;

/**
 * @author lai
 * @time 2021/10/16 15:43
 */

/**
 * 存放用于调用支付宝，向支付宝发送的拼接后的商品名称、订单编号、订单金额
 */
public class ALiPayMyOrderProductNameAndCount {

    private String productsName; // 拼接后的订单中商品的名字
    private Long orderNo; // 订单中的订单编号
    private Double orderTotalPrice; // 订单中商品总价格

    public ALiPayMyOrderProductNameAndCount(){}
    public ALiPayMyOrderProductNameAndCount(String productsName, Long orderNo, Double orderTotalPrice) {
        this.productsName = productsName;
        this.orderNo = orderNo;
        this.orderTotalPrice = orderTotalPrice;
    }

    public String getProductsName() {
        return productsName;
    }

    public void setProductsName(String productsName) {
        this.productsName = productsName;
    }

    public Long getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(Long orderNo) {
        this.orderNo = orderNo;
    }

    public Double getOrderTotalPrice() {
        return orderTotalPrice;
    }

    public void setOrderTotalPrice(Double orderTotalPrice) {
        this.orderTotalPrice = orderTotalPrice;
    }

    @Override
    public String toString() {
        return "ALiPayMyOrderProductNameAndCount{" +
                "productsName='" + productsName + '\'' +
                ", orderNo=" + orderNo +
                ", orderTotalPrice=" + orderTotalPrice +
                '}';
    }
}